package springbootjedis.wqlbootjedis.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author wql
 * @version 1.0
 * @date 2022/12/7 14:00
 */
@Data
@TableName(value = "tb_dept")
@AllArgsConstructor
@NoArgsConstructor
public class Dept {
    @TableId
    private Integer id;
    private String name;
    private String address;
}
